import { Injectable } from '@nestjs/common';
import { RoleService } from '../role/role.service';

@Injectable()
export class MenuService {
    constructor(
        private role:RoleService
    ){}

    getPermission(userId:number) {
        return this.role.getMemberRoleMenu(userId)
    }
}
